.battle-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #ececec;
    display: grid;
    grid-template-rows: 1fr 180px;
    gap: 10px;
    position: relative;
    &::before {
        pointer-events: none;
        content: attr(turnText);
        display: inline;
        color: rgba($color: #fff, $alpha: 0.1);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, calc(-50% - 42px));
        line-height: 0;
        font-size: 40px;
        font-weight: 900;
    }
}
.oppose-state {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    margin: auto;
}

.next-turn {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 100px;
    height: 40px;
    text-align: right;
    line-height: 40px;
    background-image: linear-gradient(to top, #f3e7e9 0%, #e3eeff 99%, #e3eeff 100%);
    color: #fff;
    text-shadow: 0 0 4px #669;
    font-weight: 600;
    box-shadow: 0 0 5px 0 #f3e7e9;
    border-radius: 80% 20% 20% 80% / 50% 50% 50% 50%;
    padding: 0 10px;
    cursor: pointer;
    &:not(.disabled):hover {
        box-shadow: 0 0 10px 0 #f3e7e9;
        background-image: linear-gradient(to bottom, #f3e7e9 0%, #e3eeff 99%, #e3eeff 100%);
    }
    &:not(.disabled):active {
        transform: scale(0.95);
    }
    &.disabled {
        pointer-events: none;
        filter: grayscale(100%);
    }
}

.this-turn {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 100px;
    height: 40px;
    text-align: left;
    line-height: 40px;
    background-image: linear-gradient(to top, #f3e7e9 0%, #e3eeff 99%, #e3eeff 100%);
    color: #fff;
    text-shadow: 0 0 4px #669;
    font-weight: 600;
    box-shadow: 0 0 5px 0 #f3e7e9;
    border-radius: 20% 80% 80% 20% / 50% 50% 50% 50%;
    padding: 0 10px;
}
.right-progress,
.left-progress {
    position: absolute;
    top: 67px;
    width: calc(50% - 300px);
    :deep(.el-progress-bar__outer) {
        background-color: transparent;
    }
}
.right-progress {
    transform: rotateZ(180deg);
    right: 160px;
}
.left-progress {
    left: 160px;
}
#animationCanvas {
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    pointer-events: none;
    &.isAttackDrag {
        pointer-events: visible;
    }
}
